<template>
    <div class="category">
        <h2>{{title}}分类</h2>
        <slot>等待结构填充</slot>
    </div>
  
</template>

<script>
  export default {
    name:'CateGory',
    props:['title']
  }
</script>

<style scoped>
    .category{
        background-color: #aeb8fe;
        padding: 8px;
        width: 215px;
        height: 300px;
    }
    h2{
        background-color: #27187e;
        color: #f1f2f6;
        text-align: center;
    }
</style>